﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace laohan.Common.USB
{
    /// <summary>
    /// 
    /// </summary>
    public class LogEventArgs : EventArgs
    {
        /// <summary>
        /// 
        /// </summary>
        public string Msg { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public bool IsError { get; set; }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="msg"></param>
        public LogEventArgs(string msg, bool isError)
        {
            this.Msg = msg;
            this.IsError = isError;
        }

        /// <summary>
        /// 
        /// </summary>
        public LogEventArgs() { }
    }
}
